package com.erlang.spring.dao.impl;

import com.erlang.spring.dao.AccountDao;
import com.erlang.spring.pojo.Account;

/**
 * @Description：账户服务实现类
 */
public class AccountDaoImpl implements AccountDao {

    private static Account account;

    static {
        account = new Account();
        account.setId("010101");
        account.setAccountName("张三");
        account.setMoney(2000F);
    }

    @Override
    public void createAccount() {
        System.out.println("创建账户:"+account.toString());
    }
}
